package com.xebest.web.form;

import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author xebest
 */
public class XeVenOrderRelationPurchForm implements Serializable {
    private static final long serialVersionUID = 5667558625468237587L;

    @NotNull(message = "关联订单号不能为空")
    @NotEmpty(message = "关联订单号不能为空")
    private String orderId;//订单号
    @NotNull(message = "关联采购单号不能为空")
    @NotEmpty(message = "关联采购单号号不能为空")
    private String purchOrder;//采购单号

    private Integer orderStatus;//订单状态


    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPurchOrder() {
        return purchOrder;
    }

    public void setPurchOrder(String purchOrder) {
        this.purchOrder = purchOrder;
    }

    public Integer getOrderStatus() {
        return 3;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }
}
